package com.yanmaohu.nikita.data.expression;

import com.yanmaohu.nikita.data.others.ArrayElementList;

/**
 * @author Bright Lee
 */
public final class ArrayInstanceExpression extends Expression {

    private Expression arrayLength;
    private ArrayElementList arrayElementList;

    public ArrayInstanceExpression(int beginIndex,
                                   int endIndex,
                                   Expression arrayLength,
                                   ArrayElementList arrayElementList) {
        super(beginIndex, endIndex);
        this.arrayLength = arrayLength;
        this.arrayElementList = arrayElementList;
    }

    public Expression getArrayLength() {
        return arrayLength;
    }

    public ArrayElementList getArrayElementList() {
        return arrayElementList;
    }

}
